#ifndef __GPIO_H__
#define __GPIO_H__

#define PWMPin 				GP11

#define LEDPin			 	GP10
#define SetLEDPin			GP10 = 1
#define ResetLEDPin			GP10 = 0
#define LEDPinONOFF			GP10 = ~GP10

#define SetPower_LEDPin			 	{GP11 = 1;}
#define ResetPower_LEDPin			 	{GP11 = 0;}

#define SetSpeed_LEDPin			 	{GP01 = 1;}
#define ResetSpeed_LEDPin			 	{GP01 = 0;}

#define SetYaoTou_LEDPin			{GP21 = 1;}
#define ResetYaoTou_LEDPin			{GP21 = 0;}


#define PWM1							GP34
#define PWM2							GP33
// #define PHASE_A 				GP33
// #define PHASE_B 				GP34
// #define PHASE_C 				GP01
// #define PHASE_D 				GP12
// #define ALLPHASE_OFF 			{PHASE_A=0,PHASE_B=0,PHASE_C=0,PHASE_D=0;}

#define Key_YaoTou 				GP14
#define Key_Power_Speed 		GP16

#define		BUZZERPin                       GP12
#define 	SetBUZZERPin                    {BUZZERPin = 1;}
#define 	ResetBUZZERPin                  {BUZZERPin = 0;}


//#define FGPin 				GP00
//#define SetFGPin			GP00 = 1
//#define ResetFGPin		    GP00 = 0
//#define FGPinONOFF          GP00 = ~GP00

/*************************************************************************************///External Function
extern void GPIO_Init(void);

#endif
































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































